package bot.mapper;

import bot.pojo.Joke;
import bot.pojo.JokeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface JokeMapper {
    long countByExample(JokeExample example);

    int deleteByExample(JokeExample example);

    int insert(Joke record);

    int insertSelective(Joke record);

    List<Joke> selectByExample(JokeExample example);

    int updateByExampleSelective(@Param("record") Joke record, @Param("example") JokeExample example);

    int updateByExample(@Param("record") Joke record, @Param("example") JokeExample example);
}